package org.bookshare.document.navigation;

import org.benetech.collections.Tree;
import org.jdom.Element;

public interface NavigationElement {

	/**
	 * Navigation elements supported.
	 */
	public enum NavigationElementType {
		CHAPTER,
		HEADING,
		LEVEL,
		PARAGRAPH,
		PAGE;
	}

	NavigationElementType getType();
	String getId();
	Element getElement();
	int getDistanceFrom(NavigationElement otherElement);
	void setText(String nearestText);
	String getText();
}


